package com.liqi.deployment.domain;

import java.util.Date;

import javax.validation.constraints.NotBlank;

import com.liqi.common.annotation.Excel;
import com.liqi.common.core.domain.BaseEntity;

import io.minio.Time;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 设备投放管理对象 dv_deploy_device_manager
 *
 * @author xiaoli
 * @date 2022-02-14
 */
@Data
@ApiModel(value = "设备投放管理对象", description = "dv_deploy_device_manager设备投放管理表")
public class DvDeployment extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** 主键ID */
	@ApiModelProperty(hidden = true)
	private Long id;
	/** 自编设备号 */
	@ApiModelProperty(hidden = true)
	@Excel(name = "自编设备号", sort = 6)
	private String deploymentCode;
	/** 设备id */
	@ApiModelProperty(value = "设备id", required = true)
	@NotBlank(message = "设备id不能为空")
	@Excel(name = "设备id", sort = 6)
	private String deviceId;
	/** 设备投放名称 */
	@ApiModelProperty(value = "设备投放名称", required = true)
	@Excel(name = "设备投放名称", sort = 6)
	private String deploymentName;
	/** 默认网点编码 */
	@ApiModelProperty(value = "默认网点编码")
	@Excel(name = "默认网点编码", sort = 6)
	private String branchCode;

	/** 设备状态，0是正常，1是离线，2是异常 */
	@ApiModelProperty(hidden = true)
	@Excel(name = "设备状态", readConverterExp = "0=正常,1=离线,2=异常", sort = 6)
	private String deviceStatus;
	/** 设备编码 */
	@ApiModelProperty(value = "设备编码", required = true)
	@Excel(name = "设备编码", sort = 6)
	private String deviceCode;
	/** 设备名称 */
	@ApiModelProperty(value = "设备名称", required = true)
	@Excel(name = "设备名称", sort = 6)
	private String deviceName;
	/** 厂商序列号 */
	@ApiModelProperty(value = "厂商序列号")
	@Excel(name = "厂商序列号", sort = 6)
	private String deviceSn;
	/** 生产日期 */
	@ApiModelProperty(value = "生产日期")
	@Excel(name = "生产日期", sort = 6)
	private String productionDate;
	/** 运维人员编号 */
	@ApiModelProperty(value = "运维人员编号")
	/* @Excel(name = "运维人员编号") */
	private String operationUserCode;
	/** 运维人员姓名 */
	@ApiModelProperty(value = "运维人员姓名", required = true)
	@Excel(name = "运维人员姓名", sort = 6)
	private String operationUserName;
	/** 设备经纬度 */
	@ApiModelProperty(value = "设备经纬度")
	@Excel(name = "设备经纬度", sort = 6)
	private String deviceCoordinate;
	/** 区域id */
	@ApiModelProperty(value = "区域id", required = true)
	/* @Excel(name = "区域id") */
	private String regionId;
	/** 区域名称 */
	@ApiModelProperty(value = "区域名称")
	/* @Excel(name = "区域名称") */
	private String regionName;
	/** 区域祖籍列表 */
	@ApiModelProperty(hidden = true)
	/* @Excel(name = "区域祖级列表") */
	private String ancestors;
	/** 选择省市区街道 */
	@ApiModelProperty(hidden = true)
	@Excel(name = "选择省市区街道", sort = 6)
	private String ancestorsName;
	/** 设备位置 */
	@ApiModelProperty(value = "设备位置")
	@Excel(name = "设备位置", sort = 6)
	private String deploymentAddress;
	/** 部署IP */
	@ApiModelProperty(value = "部署IP", required = true)
	@Excel(name = "部署IP", sort = 6)
	private String ipAddress;
	/** 部门id */
	@ApiModelProperty(hidden = true)
	/* @Excel(name = "部门id") */
	private String deptId;
	/** 设备状态 0是正常，1失效 */
	@ApiModelProperty(hidden = true)
	/* @Excel(name = "设备状态") */
	private Integer status;
	/** 分组id */
	@ApiModelProperty(value = "分组id", required = true)
	private String groupId;
	/** 分组名称 */
	@ApiModelProperty(value = "分组名称")
	private String groupName;
	/** 分组祖籍列表 */
	@ApiModelProperty(hidden = true)
	private String groupAncestors;
	/** 创建用户id */
	@ApiModelProperty(hidden = true)
	private String createUserId;

	/**
	 * 以下没有进入数据库表
	 */
	/** 网点名称 */
	@ApiModelProperty(hidden = true)
	private String branchName;
	/**
	 * 关联查询出厂商
	 */
	@ApiModelProperty(hidden = true)
	private String manufacturer;
	/** 运维负责人电话 */
	@ApiModelProperty(value = "运维负责人电话", required = true)
	private String phoneNumber;
	/**
	 * 品牌
	 */
	@ApiModelProperty(hidden = true)
	private String brand;
	@ApiModelProperty(hidden = true)
	private String brandCode;

	/**
	 * 热线电话
	 */
	@ApiModelProperty(hidden = true)
	private String hotline;
	/**
	 * 运维人员
	 */
	@ApiModelProperty(hidden = true)
	private String operation;
	/**
	 * 手机号码
	 */
	@ApiModelProperty(hidden = true)
	private String mobile;
	/**
	 * 邮箱
	 */
	@ApiModelProperty(hidden = true)
	private String mail;

	@ApiModelProperty(hidden = true)
	private String deleteDeviceCode;
	@ApiModelProperty(hidden = true)
	private String deleteDeviceName;
	@ApiModelProperty(hidden = true)
	private String deleteOperationUserCode;
	@ApiModelProperty(hidden = true)
	private String deleteOperationUserName;
	private Integer service24;
	private Date  openTime;
	private Date closeTime;

}
